<?php
/*
 * File VorderingKaart.php for project Rijlesplanner.nl
 * Created on April 11, 2008 at 16:11:38 PM by Ivar Pruijn
 */

class VorderingKaart {
  
	// Properties:
	public $Id;
	public $Naam;
	public $Fases;

	// Methods:

	/**
	 * void __construct ()
	 * This is the constructor method for the User class.
	 */
	public function __construct() {
   	}
   	
   	public function VorderingKaart(array $atts=NULL) {
		$this->ConstructFromArray($atts);
	}
	
	public function getId() {
	  return $this->Id;
	}

	public function setId($newVal) {
		$this->Id = $newVal;
	}

	public function getNaam() {
	  return $this->Naam;
	}

	public function setNaam($newVal) {
		$this->Naam = $newVal;
	}

	public function getFases() {
	  return $this->Fases;
	}

	public function setFases($newVal) {
		$this->Fases = $newVal;
	}

	/**
	 * void ConstructFromArray ([array attributes])
	 * This method, if an array is given as the argument, will
	 * create properties in the current object named after the
	 * keys of the array, and set the properties to the corresponding
	 * values from the array.
	 */
	private function ConstructFromArray (array $atts=NULL) {
		if (is_array($atts)) {
			while (list($key, $value) = each($atts)) {
				$this->$key = $value;
			}
		}
	}

	public function __destruct() {
//		global $logger;
//    	$logger->log("Destroying VorderingKaart " . $this->__toString() . "!\n",PEAR_LOG_INFO);
   	}
   	
   	public function __toString() {
        return $this->Naam;
    }
}
?>